<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>登录界面</title>
		<link rel="shortcut icon" href="img/icon.png"/>
		<link rel="stylesheet" href="./static/css/login.css">
	</head>
	<body>
		<canvas class="cavs" width="1575" height="1337"></canvas>

		<div class="loginmain">
			<div class="login-title">
				<span>登录</span>
			</div>

			<div class="login-con">
				<div class="login-user">
					<div class="icon">
						<img src="./static/images/user_icon_copy.png" alt="">
					</div>
					<input id="username" type="text" name="usernem" placeholder="用户名" autocomplete="off" value="张三">
				</div>
				<div class="login-pwd">
					<div class="icon">
						<img src="./static/images/lock_icon_copy.png" alt="">
					</div>
					<input id="password" type="password" name="pwd" placeholder="密码" autocomplete="off" value="123456">
				</div>
				<div class="login-btn">
					<input type="button" value="登录" onclick="loginClick()">
				</div>
			</div>

		</div>
	<script src="./static/js/jquery.min.js"></script>
	<script src="./static/js/ban.js"></script>
	
	</body>
	<script src="./js/request.js"></script>
	<script>
		function loginClick() {
			userName = document.getElementById("username").value;
			password = document.getElementById("password").value;

			login({userName, password})
		}
	</script>
</html>

